@charset "utf-8";

/* 기존 폰트들 불러오기 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css');

/* Pretendard 폰트 추가 */
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Pretendard', sans-serif;
}

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

input {
    outline: none;
    border: none;
}

.layout_container {
    margin: 20px auto;
    background: white;
    font-family: 'Pretendard', sans-serif;
    font-size: 12px;
    width: 500px;
}

.layout_container > div:not(.content) {
    text-align: center;
}

.layout_container > .header {
    position: relative;
}

.layout_container > .header > .login {
    text-align: right;
    font-family: 'Pretendard', sans-serif;
    font-size: 10px;
}

.layout_container > .header > .login #ena_layout_search_icon {
    cursor: pointer;
}

.layout_container > .header > .login #ena_layout_search_icon, 
.layout_container > .header > .login a, 
.layout_container > .header > .login a:link, 
.layout_container > .header > .login a:visited {
    color: #ccc;
    margin-right: 5px;
}

.layout_container > .header #ena_layout_search_form {
    display: none;
    position: absolute;
    right: 0;
    font-family: 'Pretendard', sans-serif;
    color: #777;
    border: 1px solid #ddd;
    background: white;
    margin-top: 5px;
}

.layout_container > .header .search input[type="text"] {
    width: 90px;
    padding: 10px;
    border: 0;
    font-family: 'Pretendard', sans-serif;
    border-right: 1px dashed #ddd;
}

.layout_container > .header .search button {
    background: transparent;
    border: none;
    color: #777;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

.layout_container > .header .title.first {
    font-family: 'Pretendard', sans-serif;
    font-size: 90px;
    cursor: pointer;
    letter-spacing: -5px;
    color: #eee;
    margin-left: -50px;
}

.layout_container > .header .title.second {
    font-family: 'Pretendard', sans-serif;
    font-size: 90px;
    margin-top: -150px;
    margin-left: -20px;
    cursor: pointer;
    letter-spacing: -5px;
    color: rebeccapurple;
}

.layout_container > .header .menu {
    padding-top: 50px;
    padding-bottom: 20px;
}

.layout_container > .header .menu > ul {
    margin: 0;
    padding: 0;
}

.layout_container > .header .menu li {
    display: inline-block;
    margin-right: 30px;
    font-family: 'Pretendard', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: capitalize;
    list-style: none;
    position: relative;
}

.layout_container > .header .menu .ena_layout_second_menu li {
    display: block;
    margin: 0;
}

.layout_container > .header .menu li a, 
.layout_container > .header .menu li a:link, 
.layout_container > .header .menu li a:visited {
    color: #555;
}

.layout_container > .header .menu li a:hover, 
.layout_container > .header .menu li a:active {
    color: rebeccapurple;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    position: relative;
}

.ena_layout_second_menu {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 5px 10px;
    text-align: left;
    width: auto;
}

.layout_container > .content {
    padding: 20px;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
}

.layout_container > .footer {
    font-family: 'Pretendard', sans-serif;
    font-size: 10px;
    color: #ccc;
    padding: 20px;
}

.layout_container > .footer #ena_layout_top {
    font-size: 1rem;
    font-weight: 700;
    color: #555;
}

.layout_container > .footer #ena_layout_top:hover, 
.layout_container > .footer #ena_layout_top:active {
    color: rebeccapurple;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

/* 모바일 화면 */
@media screen and (max-width: 500px) {
    .layout_container {
        width: 100% !important;
    }
    .layout_container > .header .title.first {
        font-size: 110px;
        margin-left: -20px;
    }
    .layout_container > .header .title.second {
        font-size: 58px;
        margin-top: -95px;
        margin-left: 5px;
    }

.layout_container > .header .title.first,
.layout_container > .header .title.second {
    display: none;
}

    
    .layout_container > .header > .login {
        padding: 0 20px;
    }
    .layout_container > .header .menu {
        padding-top: 20px;
        padding-bottom: 20px;
        margin: 0;
        letter-spacing: -1px;
    }
    .layout_container > .header .menu li {
        display: inline-block;
        margin: 0;
        margin-right: 10px;
        font-size: 20px;
    }
    .layout_container > .footer #ena_layout_top {
        letter-spacing: -1px;
    }
}